package tiantao.taogu.user.bean;

import tiantao.taogu.hospital.bean.TgHospitalInfo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class TgTokenObject implements Serializable {

    private static final long serialVersionUID = 269401337350798981L;
    /**用户guid*/
    private String guid;
    /**姓名*/
    private String name;

    private Integer tokenType; //UserTypeEnum 角色id

    private String hospitalGuid;//医院id

    private List<TgHospitalInfo> hospitalGuidList = new ArrayList<TgHospitalInfo>();//管理的医院guid集合（里边存guid和name）


    private boolean pass;//是否通过  true：通过  false:不通过


    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isPass() {
        return pass;
    }

    public void setPass(boolean pass) {
        this.pass = pass;
    }


    public Integer getTokenType() {
        return tokenType;
    }

    public void setTokenType(Integer tokenType) {
        this.tokenType = tokenType;
    }

    public String getHospitalGuid() {
        return hospitalGuid;
    }

    public void setHospitalGuid(String hospitalGuid) {
        this.hospitalGuid = hospitalGuid;
    }

    public List<TgHospitalInfo> getHospitalGuidList() {
        return hospitalGuidList;
    }

    public void setHospitalGuidList(List<TgHospitalInfo> hospitalGuidList) {
        this.hospitalGuidList = hospitalGuidList;
    }

    @Override
    public String toString() {
        return "TgTokenObject{" +
                "guid='" + guid + '\'' +
                ", name='" + name + '\'' +
                ", tokenType=" + tokenType +
                ", hospitalGuid='" + hospitalGuid + '\'' +
                ", hospitalGuidList=" + hospitalGuidList +
                ", pass=" + pass +
                '}';
    }
}
